<?php

namespace app\models\user\gc;

use Yii;

/**
 * This is the model class for table "{{%chanliangchanneng_gc}}".
 *
 * @property int $id
 * @property int $uid
 * @property string|null $caijian
 * @property string|null $zhengjian
 * @property string|null $kunbaoliu
 * @property string|null $danjianliu
 * @property string|null $zongrenshu
 * @property string|null $richanliang
 */
class ChanliangchannengGcModel extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%chanliangchanneng_gc}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid'], 'required'],
            [['uid'], 'integer'],
            [['caijian', 'zhengjian', 'kunbaoliu', 'danjianliu', 'zongrenshu', 'richanliang'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'caijian' => 'Caijian',
            'zhengjian' => 'Zhengjian',
            'kunbaoliu' => 'Kunbaoliu',
            'danjianliu' => 'Danjianliu',
            'zongrenshu' => 'Zongrenshu',
            'richanliang' => 'Richanliang',
        ];
    }
}
